package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品对象 dsitem
 * 
 * @author ruoyi
 * @date 2024-05-31
 */
public class Dsitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long itemId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 子标题 */
    @Excel(name = "子标题")
    private String subTitle;

    /** 一级分类 //公共基础 专业技能⼀组等等 */
    @Excel(name = "一级分类 //公共基础 专业技能⼀组等等")
    private Long classOne;

    /** 一级分类名称 //公共基础 专业技能⼀组等等 */
    @Excel(name = "一级分类名称 //公共基础 专业技能⼀组等等")
    private String classOneName;

    /** 二级分类 */
    @Excel(name = "二级分类")
    private Long classTwo;

    /** 二级分类名称 */
    @Excel(name = "二级分类名称")
    private String classTwoName;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String school;

    /** 参赛教师姓名 */
    @Excel(name = "参赛教师姓名")
    private String teacher;

    /** 联系方式（老师） */
    @Excel(name = "联系方式", readConverterExp = "老=师")
    private String mobile;

    /** 所属课程 */
    @Excel(name = "所属课程")
    private Long course;

    /** 状态 0-未评审 1-已评审 */
    @Excel(name = "状态 0-未评审 1-已评审")
    private Long status;

    /** 是否展示 0-不展示 1-展示 */
    @Excel(name = "是否展示 0-不展示 1-展示")
    private Long exhibitFlag;

    /** 投票数 */
    @Excel(name = "投票数")
    private Long vote;

    /** 阅读数 */
    @Excel(name = "阅读数")
    private Long view;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String cover;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 检索信息 */
    @Excel(name = "检索信息")
    private String search;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortType;

    /** 评分状态 未评分返回"" 已评分返回评分ID */
    @Excel(name = "评分状态 未评分返回 已评分返回评分ID")
    private String isApprove;

    /** 评审人ID ⽤于成绩评审汇总查询 */
    @Excel(name = "评审人ID ⽤于成绩评审汇总查询")
    private Long adjudicatorId;

    /** 评审⼈名称 ⽤于成绩评审汇总模糊查询 */
    @Excel(name = "评审⼈名称 ⽤于成绩评审汇总模糊查询")
    private String adjudicator;

    /** 作品平均分 */
    @Excel(name = "作品平均分")
    private BigDecimal avgScore;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSubTitle(String subTitle) 
    {
        this.subTitle = subTitle;
    }

    public String getSubTitle() 
    {
        return subTitle;
    }
    public void setClassOne(Long classOne) 
    {
        this.classOne = classOne;
    }

    public Long getClassOne() 
    {
        return classOne;
    }
    public void setClassOneName(String classOneName) 
    {
        this.classOneName = classOneName;
    }

    public String getClassOneName() 
    {
        return classOneName;
    }
    public void setClassTwo(Long classTwo) 
    {
        this.classTwo = classTwo;
    }

    public Long getClassTwo() 
    {
        return classTwo;
    }
    public void setClassTwoName(String classTwoName) 
    {
        this.classTwoName = classTwoName;
    }

    public String getClassTwoName() 
    {
        return classTwoName;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setCourse(Long course) 
    {
        this.course = course;
    }

    public Long getCourse() 
    {
        return course;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setExhibitFlag(Long exhibitFlag) 
    {
        this.exhibitFlag = exhibitFlag;
    }

    public Long getExhibitFlag() 
    {
        return exhibitFlag;
    }
    public void setVote(Long vote) 
    {
        this.vote = vote;
    }

    public Long getVote() 
    {
        return vote;
    }
    public void setView(Long view) 
    {
        this.view = view;
    }

    public Long getView() 
    {
        return view;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSearch(String search) 
    {
        this.search = search;
    }

    public String getSearch() 
    {
        return search;
    }
    public void setSortType(Long sortType) 
    {
        this.sortType = sortType;
    }

    public Long getSortType() 
    {
        return sortType;
    }
    public void setIsApprove(String isApprove)
    {
        this.isApprove = isApprove;
    }

    public String getIsApprove() 
    {
        return isApprove;
    }
    public void setAdjudicatorId(Long adjudicatorId) 
    {
        this.adjudicatorId = adjudicatorId;
    }

    public Long getAdjudicatorId() 
    {
        return adjudicatorId;
    }
    public void setAdjudicator(String adjudicator) 
    {
        this.adjudicator = adjudicator;
    }

    public String getAdjudicator() 
    {
        return adjudicator;
    }
    public void setAvgScore(BigDecimal avgScore) 
    {
        this.avgScore = avgScore;
    }

    public BigDecimal getAvgScore() 
    {
        return avgScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("title", getTitle())
            .append("subTitle", getSubTitle())
            .append("classOne", getClassOne())
            .append("classOneName", getClassOneName())
            .append("classTwo", getClassTwo())
            .append("classTwoName", getClassTwoName())
            .append("school", getSchool())
            .append("teacher", getTeacher())
            .append("mobile", getMobile())
            .append("course", getCourse())
            .append("status", getStatus())
            .append("exhibitFlag", getExhibitFlag())
            .append("vote", getVote())
            .append("view", getView())
            .append("cover", getCover())
            .append("userId", getUserId())
            .append("search", getSearch())
            .append("sortType", getSortType())
            .append("isApprove", getIsApprove())
            .append("adjudicatorId", getAdjudicatorId())
            .append("adjudicator", getAdjudicator())
            .append("avgScore", getAvgScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
